//
// Created by alexander on 12/22/18.
//

#include <stdio.h>
#include </home/alexander/CLionProjects/FFmpegLogTest/util/util.h>
#include <string.h>
#include <stdlib.h>

#define CurrentDir "/home/alexander/CLionProjects/FFmpegLogTest/"

char * getCurrentDirFileAbsolutePath(char *fileName)
{
    int size = strlen(CurrentDir) + strlen(fileName);
    char *src = (char *) malloc(size);
    memset(src, 0, size);
    strcat(src, CurrentDir);
    strcat(src, fileName);
    return src;
}